<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:xi="http://www.w3.org/2001/XInclude"
      xmlns:py="http://genshi.edgewall.org/">
    <xi:include href="master.html" />

<head />

<body>
    <div align="center">
        <h3>
            <span>${obj.model_title}</span>: <span>${obj.title}</span>
        </h3>
    </div>

    <table class="fields">
        <tr>
            <td>Student</td>
            <td><a href="/Student/${obj.student.id}/">${obj.student.title}</a></td>
        </tr>

        <tr>
            <td>Group</td>
            <td><a href="/Group/${obj.group.id}/">${obj.group.title}</a></td>
        </tr>

        <tr>
            <td>Agreement</td>
            <td><a href="/StudentAgreement/${obj.studentAgreement.id}/">${obj.studentAgreement.title}</a></td>
        </tr>

        <tr>
            <td>Discont</td>
            <td>${ET(change_discont_form(value=dict(discont=obj.discont)))}</td>
        </tr>

        <tr>
            <td>Inclusion order</td>
            <td>
                <a href="/Order/${obj.inclusionOrder.id}/">
                    #<span>${obj.inclusionOrder.id}</span>
                    (<span>${obj.inclusionOrder.title}</span>)
                    <span>${obj.inclusionOrder.creationDate}</span>
                </a>
            </td>
        </tr>
    </table>

    <span>${ET(tg.back_widget())}</span>
</body>
</html>
